package cn.livingCloud.dto;

import cn.livingCloud.entity.user.AccountPrivilege;
import cn.livingCloud.entity.user.Privilege;

/**
 * Created by hp on 2015/12/4.
 */
public class AccountPrivilegeDto {

    private String uuid;
    private String userAccountId;
    private Privilege privilege;

    public AccountPrivilegeDto() {
    }

    public AccountPrivilegeDto(AccountPrivilege accountPrivilege) {
        this.uuid = accountPrivilege.getUuid();
        this.privilege = accountPrivilege.getPrivilege();
        this.userAccountId = accountPrivilege.getUserAccountId();
    }

    public String getUuid() {
        return uuid;
    }

    public void setUuid(String uuid) {
        this.uuid = uuid;
    }

    public String getUserAccountId() {
        return userAccountId;
    }

    public void setUserAccountId(String userAccountId) {
        this.userAccountId = userAccountId;
    }

    public Privilege getPrivilege() {
        return privilege;
    }

    public void setPrivilege(Privilege privilege) {
        this.privilege = privilege;
    }
}
